import {get, post} from '../fetch'

// 【appUser】--获取列表
export const getJdAppUserList = (params) => get('/jdAppUser/getList', params)
// 【appUser】--获取列表
export const getExportList = (params) => get('/jdAppUser/getExportList', params)
// 【appUser】--新增数据
export const saveJdAppUser = (params) => post('/jdAppUser/save', params)
// 【appUser】--更新数据
export const editJdAppUser = (params) => post('/jdAppUser/edit', params)
// 【appUser】--删除数据
export const deleteJdAppUser = (data) => post('/jdAppUser/delete/' + data, data)
// 【appUser】--邀请成为主播
export const inviteToBeAnchorById = (params) => post('/api/msg/anchorInvite', params)


// 【userAccount】--获取列表
export const getVUserAccountList = (params) => get('vUserAccount/getList', params)
// 【userAccountRecord】--获取列表
export const getAccountRecordList = (params) => post('jdAccountRecord/getUserExchangeList', params)
// 【user】--获取列表
export const getLiveUserInfo = (params) => post('jdAppUser/getUserInfo', params)

// 【AccountSource】--获取列表
export const getAccountSourceList = (params) => get('jdAccountSource/getList', params)

export const getSysLiveUserList = (params) => get('jdLive/getJdLiveUserList', params)

// 【withdraw】--获取列表
export const getJdWithdrawApplyList = (params) => get('viewWithdrawApply/getList', params)
// 【withdraw】--新增数据
export const saveJdWithdrawApply = (params) => post('jdWithdrawApply/save', params)
// 【withdraw】--更新数据
export const editJdWithdrawApply = (params) => post('jdWithdrawApply/edit', params)
// 【withdraw】--更新数据
export const adminWithdrawCheck = (params) => post('jdWithdrawApply/withdrawCheck', params)
// 【withdraw】--删除数据
export const deleteJdWithdrawApply = (data) => post('jdWithdrawApply/delete/' + data, data)


// 【thirdApply】--获取列表
export const getViewThirdApplyList = (params) => get('/viewThirdApply/getViewThirdApplyList', params)
// 【thirdApply】--删除数据
export const deleteThirdApply = (data) => post('/jdThirdApply/delete/' + data, data)
// 【thirdApply】--审核数据
export const applyCheck = (params) => post('/jdThirdApply/applyCheck', params)

// 【platform】--获取列表
export const getJdPlatformAppUserList = (params) => get('/jdAppUser/getPlatformList', params)
// 【platform】--新增数据
export const saveJdPlatformAppUser = (params) => post('/jdAppUser/savePlatform', params)
// 【platform】--更新数据
export const editJdPlatformAppUser = (params) => post('/jdAppUser/editPlatform', params)

// 【JdLabelSend】--新增数据
export const saveJdLabelSend = (params) => post('/jdLabelSend/save', params)
// 【JdLabelSend】--更新数据
export const editJdLabelSend = (params) => post('/jdLabelSend/edit', params)
// 【JdLabelSend】--获取用户标签列表
export const getUserLabelList = (params) => get('/jdLabelSend/getUserLabelList', params)


// 【JdUserOpinion】--获取用户标签列表
export const getviewUserOpinionList = (params) => get('/viewUserOpinion/getList', params)

// 【JdVerify】--获取列表
export const getJdVerifyList = (params) => get('viewVerify/getList', params)
// 【JdVerify】--新增数据
export const saveJdVerifyApply = (params) => post('jdVerify/save', params)
// 【JdVerify】--更新数据
export const editJdVerifyApply = (params) => post('jdVerify/edit', params)
// 【JdVerify】--审核
    export const jdVerifyCheck = (params) => post('jdVerify/verifyCheck', params)
// 【JdVerify】--删除数据
export const deleteVerify = (data) => post('jdVerify/delete/' + data, data)



